﻿using LiteNetLib.Utils;
using UnityEngine;

namespace Script.NetSystem.Services.RoomAndBattle.BattleService.Handler
{
    public class EnemyDie : IBattleHandler
    {
        public void Handler(BattleClient battleClient, NetDataReader reader)
        {

            int enemyId = reader.GetInt();
            battleClient.BattleManager.enemyManager.EnemyDie(enemyId);

        }
    }
}